<?php
$file_path = $_SERVER['REQUEST_URI'];
$file_path = explode('/',$file_path);
$file_name = array_pop($file_path);

$isabtrActive = ($file_name == 'aboutus.php')?'current' :'' ;
$istecActive = ($file_name == 'iphone_development.php')?'current' :'' ;
$isengActive = ($file_name == 'engagement_model.php')?'current' :'' ;
$iscntActive = ($file_name == 'contact_us.php')?'current' :'' ;

?>
<!-- Basic Page Needs
  ===============================
  
  =================== -->
<meta charset="utf-8" />
<title>About Cyberlinks</title>
<meta name="robots" content="index, follow" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="" />
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" href="/favicon.ico" type="image/x-icon">

<!-- Mobile Specific Metas
  ================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

<!-- CSS
  ================================================== -->
<link href='http://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/flexslider.css" type="text/css">
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/inner.css" />
<link rel="stylesheet" href="css/layout.css" />
<link rel="stylesheet" href="css/color.css" />
<link rel="stylesheet" href="css/prettyPhoto.css"  media="screen" />
<link rel="stylesheet" href="admin/css/bootstrap.min.css" />

<!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

<!-- Favicons
	================================================== -->
<!--<link rel="shortcut icon" href="images/favicon.ico" />-->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

<script type="text/javascript" src="js/jquery-1.9.0.min.js"></script>
<!--<script type="text/javascript">
$(document).ready(function(){
var $windowW = $(window).width();
$("#winwidth").html($windowW);

});
</script>
-->
<link rel="stylesheet" href="css/accordion.css">
<!--<script src="http://code.jquery.com/jquery-1.9.1.js"></script>-->
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
<script>
  $(function() {
    $( "#accordion" ).accordion();
  });
  </script>

<script>
function disableSelection(target){

if (typeof target.onselectstart!="undefined") //IE route
target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
target.style.MozUserSelect="none"
else //All other route (ie: Opera)
target.onmousedown=function(){return false}
target.style.cursor = "default"
}
</script>

<script>
//////////F12 Inactive code////////////////////////



document.onload = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
           //alert('No F-12');
            return false;
        }
    }
	
    document.onkeypress = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
           //alert('No F-12');
            return false;
        }
    }
    document.onmousedown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
document.onkeydown = function (event) {
        event = (event || window.event);
        if (event.keyCode == 123) {
            //alert('No F-keys');
            return false;
        }
    }
/////////////////////end///////////////////////
//Inactive right click script
var message="Sorry, right-click has been disabled";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
//
function disableCtrlKeyCombination(e)
{
//list all CTRL + key combinations you want to inactive
var forbiddenKeys = new Array('a', 'n', 'c', 'x', 'v', 'j' , 'w' , 'p', 's' , 'u');
var key;
var isCtrl;
if(window.event)
{
key = window.event.keyCode;     //IE
if(window.event.ctrlKey)
isCtrl = true;
else
isCtrl = false;
}
else
{
key = e.which;     //firefox
if(e.ctrlKey)
isCtrl = true;
else
isCtrl = false;
}
//if ctrl is pressed check if other key is in forbidenKeys array
if(isCtrl)
{
for(i=0; i<forbiddenKeys.length; i++)
{
//case-insensitive comparation
if(forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase())
{
alert('Sorry, the site is secured');
return false;
}
}
}
return true;
}
</script>


</head>


<body onload="disableSelection(document.body);return disableCtrlKeyCombination(event);" onkeypress="return disableCtrlKeyCombination(event);" onkeydown="return disableCtrlKeyCombination(event);" onselect="return disableCtrlKeyCombination(event)">

<div style="width:10px; color:#000; height:3px; display: block;" id="winwidth"></div>
<div id="bodychild">
  <div id="outercontainer"> 
    
    <!-- HEADER -->
    <div id="outerheader">
      <div id="headercontainer">
        <header id="top">
          <div id="logo">
            <div id="logoimg"> <a href="index.php"> <img src="images/logo.png" alt="" /> </a> </div>
          </div>
          
          <div class="right wid_100">
          <div id="topright"> <a href="http://www.facebook.com/pages/Cyberlinks/219059318116006" target="_blank"><img src="images/facebook.png" width="30" height="30" alt=""/></a> <a href="http://twitter.com/cyberlinksmobi" target="_blank"><img src="images/twitter.png" width="30" height="30" alt=""/></a> <a href="http://www.linkedin.com/company/530230?trk=pro_other_cmpy" target="_blank"><img src="images/linkedin.png" width="30" height="30" alt=""/></a> </div>
          <div class="clear"></div>
          <section id="navigation">
            <nav id="nav-wrap">
              <ul id="topnav" class="sf-menu">
                <li><a href="index.php">Home</a></li>
                <li class="<?=$isabtrActive?>"><a href="aboutus.php">About Us</a> 
                <ul>
                    <li class="<?=$istecActive?>"><a href="careers.php">Careers</a>
                    <ul>
                    <li><a href="current_openings.php">Current Openings</a></li>
                    
                    </ul>
                    </li>
                    <li><a href="our_team.php">Our Team</a></li>
                    <li><a href="why_cyberlinks.php">Why Cyberlinks</a></li>
                    
                  </ul>
                  </li>
                <li class="<?=$istecActive?>"><a href="#">Technologies</a>
                  <ul>
                    <li><a href="android_development.php">Android Development</a></li>
                    <li><a href="iphone_development.php">iPhone Development</a></li>
                    <li><a href="ipad_development.php">iPad Development</a></li>
                    <li><a href="bb_development.php">BB Development</a></li>
                    <li><a href="mobile_application.php">Mobile Application</a></li>
                    <li><a href="windows_application.php">Windows Application</a></li>
                  </ul>
                </li>
                <li class="<?=$isengActive?>"><a href="engagement_model.php">Engagement Model</a>
                <ul>
                    <li><a href="tm_model.php">T & M Model</a></li>
                    <li><a href="modc.php">MODC</a></li>
                    <li><a href="captive_bot.php">Captive BOT</a></li>
                    <li><a href="onsite_model.php">Onsite Model</a></li>
                    
                  </ul>
                  </li>
                <li class="<?=$iscntActive?>"><a href="contact_us.php">Contact Us</a></li>
              </ul>
            </nav>